﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Data.Entities.Mes
{
    /// <summary>
    /// MES-SCADA-25 设备运行数据 SCADA to IOT to EM system
    /// </summary>
    public class WINCCEquipmentDataReport
    {
        public string order_code;
        public string factory;
        public string center_code;
        public string center_name;
        public string material_code;
        public string material_name;

        public List<WINCCEquipment> detail;
    }

    /// <summary>
    /// 设备运行数据信息
    /// </summary>
    public class WINCCEquipment
    {
        public string op_code;
        public string op_name;
        public string cell_code;
        public string cell_name;
        public string equip_code;
        public string equip_name;
        public string prod_sn;

        public List<WINCCEquipmentData> detail1;
    }

    /// <summary>
    /// 设备运行数据值
    /// </summary>
    public class WINCCEquipmentData
    {
        public string data_name;  // 数据名称
        public string data_value; // 运行数据
    }
}
